package com.bsg.upm.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.bsg.upm.entity.MonitorEventEntity;

/**
 * 
 * @author yucs
 *
 */
public interface MonitorEventDao extends CrudDao<MonitorEventEntity> {
	public List<MonitorEventEntity> listAlarmWithNoSend();

	public List<MonitorEventEntity> listAlarm(Map<String, Object> paramMap);

	public List<MonitorEventEntity> listEvent(Map<String, Object> paramMap);
	
	public int countAlarm(@Param("send") Boolean isSend,@Param("siteId") String siteId);

	public int updateSend(MonitorEventEntity monitorEventEntity);
}
